Visualization of aqueous geochemistry data using Python and WQChartPy

Published in Groundwater, 2022

Recommended citation: Jing Yang, Honghua Liu, Zhonghua Tang, Luk Peeters, Ming Ye*. "Visualization of aqueous geochemistry data using Python and WQChartPy." Groundwater. 2022 (In press). https://ngwa.onlinelibrary.wiley.com/doi/abs/10.1111/gwat.13185

Graphical methods have been widely used for visualization, classification, and interpretation of aqueous geochemical data to obtain a better understanding of surface and subsurface hydrologic systems. This method note presents WQChartPy, an open-source Python package developed to plot a total of twelve diagrams for analysis of aqueous geochemical data. WQChartPy can handle various data formats including Microsoft Excel, comma-separated values (CSV), and general delimited text. The twelve diagrams include eight traditional diagrams (trilinear Piper, Durov, Stiff, Chernoff face, Schoeller, Gibbs, Chadha, and Gaillardet) and four recently proposed diagrams (rectangle Piper, color-coded Piper, contour-filled Piper, and HFE-D) that have not been implemented in existing graphing software. The diagrams generated by WQChartPy can be saved as portable network graphics (PNG), scalable vector graphics (SVG), or portable document format (PDF) files for scientific publications. Jupyter and Google Colab notebooks are available online to illustrate how to use WQChartPy with example datasets. The geochemical diagrams can be generated with several lines of Python codes. Source codes of WQChartPy are publicly available at GitHub (https://github.com/jyangfsu/WQChartPy) and PyPI (https://pypi.org/project/wqchartpy/)..

[Download paper here]

Recommended citation: Yang, J., Liu, H., Tang, Z., Peeters, L. and Ye, M. (2022), Visualization of Aqueous Geochemical Data Using Python and WQChartPy. Groundwater. Accepted Author Manuscript. https://doi.org/10.1111/gwat.13185